﻿#ifndef HOTELDETAILSCOMMENTCONTENT_H
#define HOTELDETAILSCOMMENTCONTENT_H

#include <QWidget>
#include "globalvars.h"

namespace Ui {
class HotelDetailsCommentContent;
}

class HotelDetailsCommentContent : public QWidget
{
    Q_OBJECT
signals:
    void signalRelayComment(const QString&);

public:
    explicit HotelDetailsCommentContent(QWidget *parent = nullptr);
    ~HotelDetailsCommentContent();

    void setCommentInfo(const CommentInfo &commentInfo);
    void setCommentImage(const QImage& image);
    void setCommentImage(const ImageList& imageList);
    QString &getCommentID();
    void setRelayEnabled();

private slots:
    void on_pb_reply_clicked();

private:
    Ui::HotelDetailsCommentContent *ui;

    int m_commentImageIndex;
    QString m_commentID;
};

#endif // HOTELDETAILSCOMMENTCONTENT_H
